package org.wz.complex.work.entity.auth.token;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("auth_token_pclogin")
public class TokenPclogin {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String username;

    private String token;

    private String tokenJwt;

    private Integer status;

    private Long userId;

    @TableField(exist = false)
    private Boolean isLogin;

}
